package com.gamecollection.fish;

import com.gamecollection.mvc.GameEngine;
import com.gamecollection.fish.controller.FishController;
import com.gamecollection.fish.model.FishModel;
import com.gamecollection.fish.view.FishView;

/**
 * 大鱼吃小鱼游戏主类
 */
public class FishGame {
    
    public static void main(String[] args) {
        // 创建MVC组件
        FishModel model = new FishModel();
        FishView view = new FishView(model);
        FishController controller = new FishController(model);
        
        // 创建游戏引擎
        GameEngine engine = new GameEngine(model, view, controller, 
            model.getWidth(), model.getHeight(), "大鱼吃小鱼");
        
        // 启动游戏
        engine.launch();
    }
} 